﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;

namespace OpenMediaOrganizer.MediaLibrary
{
    public class TitleTemplate
    {
        private List<Regex> _Patterns;
        public List<Regex> Patterns
        {
            get
            {
                if (_Patterns == null)
                {
                    _Patterns = new List<Regex>();
                }
                return _Patterns;
            }
            set
            {
                _Patterns = value;
            }
        }

        public string Name { get; set; }

        public List<string> Elements { get; set; }

        public string Template { get; set; }

        public int Priority { get; set; }
    }
}
